package com.mingqijia.gassafety.webserver.response;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: duanhongxiang
 * @Date: 2024/6/13 21:10
 */
@Data
@ApiModel("区，街道树形返回参数")
public class FuncAreaTreeResponse {
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "编码")
    private String funcCode;

    @ApiModelProperty(value = "名称")
    private String funcName;

    @ApiModelProperty(value = "街道数据")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<FuncAreaTreeResponse> childs;
}
